﻿using Abp.Domain.Entities.Auditing;
using System.ComponentModel;

namespace SingleUserMall.Points
{
    public class ReleasePointRules : FullAuditedEntity<long>
    {
        /// <summary>
        /// 规则名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 普通用户自购佣金
        /// </summary>
        public double NormalUserOwnBuyRate { get; set; }
        /// <summary>
        /// VIP用户自购佣金
        /// </summary>
        public double VIPUserOwnBuyRate { get; set; }
        /// <summary>
        /// 合伙人自购佣金
        /// </summary>
        public double SuperVIPUserOwnBuyRate { get; set; }
        /// <summary>
        /// 直推普通用户给VIP用户佣金比例
        /// </summary>
        public double DirectNormalUserToVIPRate { get; set; }
        /// <summary>
        /// 直推普通用户给合伙人佣金比例
        /// </summary>
        public double DirectNormalUserToSuperVIPRate { get; set; }
        /// <summary>
        /// VIP团队给合伙人佣金比例
        /// </summary>
        public double DirectVIPGroupUserToSuperVIPRate { get; set; }
        /// <summary>
        /// 直推合伙人给合伙人佣金比例
        /// </summary>
        public double DirectSuperVIPUserToSuperVIPRate { get; set; }
        /// <summary>
        /// 直推合伙人给VIP用户佣金比例
        /// </summary>
        public double DirectSuperVIPUserToVIPRate { get; set; }
        /// <summary>
        /// 直推合伙人给普通佣金比例
        /// </summary>
        public double DirectSuperVIPUserToNormalUserRate { get; set; }
    }
}
